var express = require('express');
var router = express.Router();
const connection = require('../database/mysql')
const path = require('path')
const sql = require('../routehandles/mysqlhandle');
const { request } = require('http');



router.post('/jobfachu',async (req,res) => {
    const params = req.body;
    var a = await sql.sPublishTableByUsername(params.username);
        return res.json({a,result:'true'})
})

module.exports = router